#ifndef __BIT_DEF_H
#define __BIT_DEF_H

/*
 * Simulates a single bit, we'll use the low order bit in a byte.
 */
typedef unsigned char Bit;

#define BIT0_MASK 0x01

#define TRUE 1
#define FALSE 0

/*
 * Bit maskBit(Bit a);
 * Ensures only bit 0 has a non-zero value.
 * a: the bit to mask
 */
Bit maskBit(Bit a);

#endif
